home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / comm / net / binkd_0_9_2bin.lha / binkd.cfg < prev    next >
Text File  |  1997-10-23  |  5KB  |  211 lines

  1. # Binkd sample configuration file
  2. # Copyright (C) 1996-1997 by Dima Maloff, 2:5047/13
  3. # $Id: binkd.cfg,v 1.5 1997/10/23 03:18:31 mff Exp $
  4.  
  5. #
  6. # Your FTN domains:
  7. #    domain <name> <main-outbound> <default-zone>
  8. # or
  9. #    domain <new-name> alias-for <name>
  10. #
  11. domain fidonet c:\\bbs\\outbound 2
  12. domain fido alias-for fidonet
  13. domain fidonet.org alias-for fidonet
  14.  
  15. # Your addresses, 4D or 5D:
  16. #    address <addr1> ...
  17. #
  18. address 2:5047/999@fidonet 2:5020/999.1@fidonet
  19.  
  20. # The name of your system, it's location, and your name
  21. #
  22. sysname "Ivan's BBS"
  23. location "Magadan, Russia"
  24. sysop "Ivan Ivanov"
  25.  
  26. #
  27. # System capabilities
  28. #
  29. nodeinfo 115200,TCP,BINKP
  30.  
  31. #
  32. # TCP settings. Leave this unchanged if not sure.
  33. #
  34. #iport binkp
  35. #oport binkp
  36. #oblksize 4096
  37. #timeout 60
  38.  
  39. #
  40. # Delay calls and outbound rescans
  41. #
  42. #call-delay 60
  43. #rescan-delay 60
  44.  
  45. #
  46. # Max. number of inbound/outbound connections
  47. #
  48. #maxservers 2
  49. #maxclients 2
  50.  
  51. #
  52. # Binkd will try to call a node N times, if failed, it will
  53. # hold the node for S seconds. The feature is off by default.
  54. #
  55. try 10
  56. hold 600
  57.  
  58. #    
  59. # hold-skipped <S>
  60. # Binkd will hold all mail, skipped by a node, for S seconds. (Def. -- 3600)
  61. #
  62. #hold-skipped 3600
  63.  
  64. #
  65. # Don't send (only receive) files if no password for an inbound session 
  66. #        
  67. send-if-pwd
  68.  
  69. #
  70. # Path and name for the logfile, loglevel
  71. #
  72. log binkd.log
  73. loglevel 4
  74.  
  75. #
  76. # Uncomment it if you want binkd's log at your console
  77. #
  78. conlog 4
  79.  
  80. #
  81. # Uncomment if you want T-Mail(FrontDoor)-style binary log
  82. # (Will work and have sense on PCs only?) 
  83. # Tzoff corrects UTC time returned by time() under DOS-derived OS
  84. #
  85. #binlog binkd.sts
  86. #fdinhist in.his
  87. #fdouthist out.his
  88. #tzoff 10800
  89.  
  90. #
  91. # Use syslog (Only if made with -DHAVE_VSYSLOG and -DHAVE_FACILITYNAMES)
  92. #
  93. #syslog local0
  94.  
  95. #
  96. # Print percents while sending or receiving 
  97. #
  98. percents
  99.  
  100. #
  101. # List queue after rescans
  102. #
  103. printq
  104.  
  105. #
  106. # Perform reverse resolving (for logging only)
  107. #
  108. backresolv
  109.  
  110. #
  111. # Log pid:
  112. #
  113. #pid-file /var/run/binkd.pid
  114.  
  115. #
  116. # Map paths in flo's:
  117. #    ftrans <old-string> <new-string>
  118. # Use as many ftrans's as you want.
  119. #
  120. #ftrans "D:\\fido\\outbound" "/var/spool/fido/outb"
  121. #ftrans "\\" "/" # this replaces all slashes in a path
  122.  
  123. #
  124. # Inbound directory for secure and non-secure links
  125. #
  126. inbound c:\\bbs\\inbound
  127. inbound-nonsecure c:\\bbs\\inbound\\unknown
  128.  
  129. #
  130. # Binkd will skip all files from a node if 
  131. # size_of_the_next_file_for_us_there + minfree < free_space_in_inbound
  132. #
  133. minfree 2048
  134. minfree-nonsecure 2048
  135.  
  136. #
  137. # When trying to receive a new file: remove from inbound partial 
  138. # files with this name but diff.size or time. (If commented out, binkd
  139. # will left old parts as .dt and .hr in the inbound directory)
  140. #
  141. kill-dup-partial-files
  142.  
  143. #            
  144. # Remove from inbound all old partial files. (OFF if commented out)
  145. #    kill-old-partial-files <max-age-in-seconds>
  146. #
  147. kill-old-partial-files 86400
  148.  
  149. #
  150. # Remove old .bsy/.csy files (If some left after a system crash). It would be 
  151. # wise to set this to 43200 (12 hrs) on almost any system. (Note that binkd 
  152. # always touches .bsy's/.csy's for active sessions) 
  153. #
  154. # kill-old-bsy is OFF by default.
  155. #
  156. #kill-old-bsy 43200
  157.  
  158. #
  159. # Create a flag file after receiving a file
  160. #
  161. #flag toss!.now *.pkt
  162. #flag toss!.now *.su? *.mo? *.tu? *.we? *.th? *.fr? *.sa?
  163.  
  164. #
  165. # Run an external program. 
  166. # The "*S" macro in command line substed with S.R.I.F., see !SRIF.TXT
  167. #
  168. #exec "my-freq-processor.exe /options *S" *.req
  169. #exec "my-pkt-unpacker.exe /options *S" *.pkt
  170.  
  171. #
  172. # Include a file 
  173. #
  174. #include binkd.inc
  175.  
  176. #
  177. # Overrides root domain for DNS lookups, see `node' below.
  178. #
  179. #root-domain fidonet.net
  180.  
  181. #
  182. # Define a link:
  183. #       node [[z:]n/]n[.p][@domain] [-nr] [{hosts|-} [{pwd|-} [flavour [{obox|-} [{ibox|-}]]]]]
  184. #
  185. # * All non-"-" fields will redefine values specified for the same node 
  186. #    earlier in config. 
  187. # * Flavour is one of i, c, d, -, h; and is the flavour for the outbound
  188. #     filebox ("obox"). 
  189. # * Binkd sends from obox all non-dir entries NOT matching ".*" wildcard.
  190. #    EVERY TIME YOU PUT A FILE INTO OBOX CHECK IF BINKD WILL BE ABLE TO
  191. #    UNLINK IT. Otherwise, the session will never end.
  192. # * Default for ibox is inbound or inbound-nosecure depending on the pwd field. 
  193. # * Default for port is oport.
  194. # * `-nr' stands for `Not Reliable Link', this works only on outbound calls 
  195. #    with another binkp/1.1 mailer. The option solves the only problem with
  196. #    binkd having no enough time to start receiving of a file from 
  197. #    non-zero offset before IP link's down, so don't use it unless you 
  198. #    have this problem -- really not effective
  199. # * Hosts is a list in form
  200. #       host1[:port1][;host2[:port2]] ...
  201. # * Asterisk (`*') in the host list forces Binkd to perform
  202. #       1:2/3.4 --> p4.f3.n2.z1.fidonet.net translation for a node's
  203. #       Fido-address and lookup IP for the resulting FQDN in DNS.
  204. #       Root domain part ("fidonet.net") can be changed with root-domain
  205. #       keyword.
  206. #    
  207. node 5047/888 - password
  208. node 5047/999 hostname;* password i c:\\bbs\\boxes\\to999 c:\\bbs\\boxes\\from999
  209.